﻿using SmartSpace.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.OA
{
    public class DocItem : ICodeEntity
    {
        public const string File = "DOC.FILE";
        public const string Folder = "DOC.FOLDER";

        public Guid Id { get; set; }
        public string Code { get; set; }
        public string Caption { get; set; }
        public string Description{get;set;}

        public Guid? ParentId { get; set; }

        public string TypeCode { get; set; }
        public string TypeCaption { get; set; }

        public string Creator { get; set; }
        public DateTime CreatedDate { get; set; }

        public void Validation()
        {
            throw new NotImplementedException();
        }
    }
}
